package com.kfm.springboot.mapper;

import com.kfm.springboot.domain.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 10854
* @description 针对表【sys_menu(菜单)】的数据库操作Mapper
* @createDate 2022-11-07 10:57:42
* @Entity com.kfm.springboot.domain.SysMenu
*/
@Mapper
public interface SysMenuMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    SysMenu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);

    List<SysMenu> selectByRoleId(Integer roleId);

}
